package com.jeesite.modules.home.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.home.entity.DcSupMsgDto;
import com.jeesite.modules.home.entity.DcSupWarningDto;
import com.jeesite.modules.home.entity.EchartsDto;
import com.jeesite.modules.task.action.entity.DcSupTaskActionDto;
import com.jeesite.modules.task.receive.entity.TaskReceiveDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 督办首页DAO接口
 * @author xgq
 * @version 2022-03-15
 */
@MyBatisDao
public interface DcSupIndexDao extends CrudDao<DcSupMsgDto> {

    List<DcSupMsgDto> queryOne(DcSupMsgDto dcSupMsgDto);

    List<EchartsDto> queryTwo(DcSupTaskActionDto dcSupTaskActionDto);

    List<DcSupWarningDto> queryThree(DcSupWarningDto dcSupWarningDto);

    List<EchartsDto> queryFive(String orgCode,String taskYear,String flag);

    List<EchartsDto> querySix(String orgCode,String taskYear,String flag);

    List<DcSupMsgDto> queryFour(DcSupMsgDto dcSupMsgDto);

    List<DcSupWarningDto> queryGatewayWarning(DcSupWarningDto dcSupWarningDto);

    List<EchartsDto> queryGatewayprogress(@Param("taskYear") String year,@Param("officeCode") String officeCode, @Param("userCode") String userCode);

    List<TaskReceiveDto> supIndexFiveList(TaskReceiveDto taskReceiveDto);

    List<TaskReceiveDto> supIndexSixList(TaskReceiveDto taskReceiveDto);

    List<EchartsDto> querySeven(String taskYear);

    List<EchartsDto> queryNine(String taskYear);

    List<DcSupTaskActionDto> queryTwoPage(DcSupTaskActionDto dcSupTaskActionDto);

    List<DcSupTaskActionDto> queryTwoPageAll(DcSupTaskActionDto dcSupTaskActionDto);

    List<DcSupTaskActionDto> queryGatewayProgressPage(DcSupTaskActionDto dcSupTaskActionDto);

    List<Map> queryOrgRank();
}
